<div ng-include="'tpl/base/web/header.html'"></div>
<div ng-include="'tpl/base/web/search.html'"></div>


<div id="leftTab7" class="clearfix">
    <div ng-include="'tpl/base/web/leftTab.html'"></div>
    <div class="interface fl clearfix">

        <!-- Nav tabs -->
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a onclick="return false;" href="#home" aria-controls="home" role="tab" data-toggle="tab">耗材品牌维护</a></li>
            <li role="presentation"><a onclick="return false;" href="#tab7_nav2" aria-controls="tab7_nav2" role="tab" data-toggle="tab">耗材分组维护</a></li>
            <li role="presentation"><a onclick="return false;" href="#tab7_nav3" aria-controls="tab7_nav3" role="tab" data-toggle="tab">耗材分类维护</a></li>
        </ul>

        <!-- Tab panes -->
        <div class="tab-content">
            <!--耗材品牌维护-->
            <div  ng-controller="leftTab7" role="tabpanel" class="tab-pane active" id="home">

                <div class="mask" ng-show="layerOutShow"></div>
                <div class="merchantSearch">
                    <ul>
                        <li>
                            <!--<label><span>用户名：</span><input type="text"></label>-->
                            <label style="margin-right: 55px"><span>耗材品牌：</span><input type="text" ng-model="searchMsg.code"></label>
                            <!--<label><span>店主姓名：</span><input type="text"></label>-->
                        </li>

                        <br>
                        <li>
                            <button class="searchBtn" ng-click="searcBtnClick();">搜索</button>
                        </li>
                    </ul>
                </div>

                <div class="merchantList">
                    <ul>
                        <li class="addM" ng-click="createNewItemBtn();"><img src="img/icon/addMer.png" alt="">新增品牌</li>
                        <li class="deleteM" ng-click="deleteTableDataBtn();"><img src="img/icon/delete.png" alt="">删除品牌</li>
                    </ul>

                    <table>
                        <tr class="th">
                            <td class="input"><input type="checkbox" ng-model="select_all" ng-change="selectAll($event)"></td>

                            <td>品牌</td>
                            <td>操作</td>
                        </tr>

                        <tr ng-repeat="item in tableData" on-finish-render-filters>
                            <td class="input"><input type="checkbox" ng-model="item.checked" ng-change="selectOne($event)"></td>

                            <td>{{item.code}}</td>
                            <td style="color:red;text-decoration: underline" ng-click="disableBtn();" ng-show="item.dataSign==0">禁用</td>
                            <td style="color:green;text-decoration: underline" ng-click="enDisableBtn();" ng-show="item.dataSign==1">启用</td>
                        </tr>

                    </table>
                </div>

                <div class="home_layerOut" ng-show="layerOutShow">
                    <h3>新增品牌<img src="img/icon/cha.png" alt="" ng-click="closeLay();"></h3>
                    <div>
                        <span style="min-width: 95px;display: inline-block;">耗材品牌</span><input style="width:70%;" type="text" ng-model="creatNewItemMsg.code">
                    </div>
                    <input type="button" value="新增" ng-click="createNewItemSub();">
                </div>
                <div class="paging" >
                    <div class="clearfix box-between">
                        <!--<div class="branches fl">-->
                        <!--<select name="" id="">-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">4</option>-->
                        <!--</select>-->
                        <!--<span>条 / 页</span>-->
                        <!--</div>-->

                        <div class="page fl">
                            <span class="fl pageTurn prev" ng-click="firstPageBtn();">首页</span>
                            <span class="fl pageTurn prev" ng-click="prevPageBtn();">上一页</span>
                            <!--<ul class="fl">-->
                            <!--<li>1</li>-->
                            <!--<li>2</li>-->
                            <!--<li>3</li>-->
                            <!--<li>4</li>-->
                            <!--<li>5</li>-->
                            <!--<li>6</li>-->
                            <!--<li>7</li>-->
                            <!--<li>8</li>-->

                            <!--</ul>-->
                            <div class="pageTo fl">
                                <p>转到 <input type="text" ng-model="page1" ng-keyup="myKeyup13($event)"> 页</p>
                            </div>
                            <span class="fl pageTurn next" ng-click="nextPageBtn();">下一页</span>
                            <span class="fl pageTurn next toLast" ng-click="lastPageBtn();">尾页</span>
                            <p class="fl">共 <span>{{pageMsg.totalPages}}</span> 页  /  <span>{{pageMsg.totalElements}}</span> 条数据</p>
                        </div>
                    </div>


                </div>
            </div>




            <!--耗材分组维护-->
            <div  ng-controller="leftTab7_2" role="tabpanel" class="tab-pane" id="tab7_nav2">

                <div class="mask" ng-show="layerOutShow"></div>
                <div class="merchantSearch">
                    <ul>
                        <li>
                            <!--<label><span>用户名：</span><input type="text"></label>-->
                            <label style="margin-right: 55px"><span>耗材分组：</span><input type="text" ng-model="searchMsg.code"></label>
                            <!--<label><span>店主姓名：</span><input type="text"></label>-->
                        </li>

                        <br>
                        <li>
                            <button class="searchBtn" ng-click="searcBtnClick();">搜索</button>
                        </li>
                    </ul>
                </div>

                <div class="merchantList">
                    <ul>
                        <li class="addM" ng-click="createNewItemBtn();"><img src="img/icon/addMer.png" alt="">新增分组</li>
                        <li class="deleteM" ng-click="deleteTableDataBtn();"><img src="img/icon/delete.png" alt="">删除分组</li>
                    </ul>

                    <table>
                        <tr class="th">
                            <td class="input"><input type="checkbox" ng-model="select_all" ng-change="selectAll($event)"></td>
                            <td>耗材分组</td>
                            <td>操作</td>
                        </tr>

                        <tr ng-repeat="item in tableData" on-finish-render-filters>
                            <td class="input"><input type="checkbox" ng-model="item.checked" ng-change="selectOne($event)"></td>

                            <td>{{item.code}}</td>
                            <td style="color:red;text-decoration: underline" ng-click="disableBtn();" ng-show="item.dataSign==0">禁用</td>
                            <td style="color:green;text-decoration: underline" ng-click="enDisableBtn();" ng-show="item.dataSign==1">启用</td>
                        </tr>

                    </table>
                </div>

                <div class="home_layerOut" ng-show="layerOutShow">
                    <h3>耗材分组<img src="img/icon/cha.png" alt="" ng-click="closeLay();"></h3>
                    <div>
                        <span style="min-width: 95px;display: inline-block;">耗材分组名称</span><input style="width:70%;" type="text" ng-model="creatNewItemMsg.code">
                    </div>
                    <input type="button" value="新增" ng-click="createNewItemSub();">
                </div>
                <div class="paging" >
                    <div class="clearfix box-between">
                        <!--<div class="branches fl">-->
                        <!--<select name="" id="">-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">4</option>-->
                        <!--</select>-->
                        <!--<span>条 / 页</span>-->
                        <!--</div>-->

                        <div class="page fl">
                            <span class="fl pageTurn prev" ng-click="firstPageBtn();">首页</span>
                            <span class="fl pageTurn prev" ng-click="prevPageBtn();">上一页</span>
                            <!--<ul class="fl">-->
                            <!--<li>1</li>-->
                            <!--<li>2</li>-->
                            <!--<li>3</li>-->
                            <!--<li>4</li>-->
                            <!--<li>5</li>-->
                            <!--<li>6</li>-->
                            <!--<li>7</li>-->
                            <!--<li>8</li>-->

                            <!--</ul>-->
                            <div class="pageTo fl">
                                <p>转到 <input type="text" ng-model="page1" ng-keyup="myKeyup13($event)"> 页</p>
                            </div>
                            <span class="fl pageTurn next" ng-click="nextPageBtn();">下一页</span>
                            <span class="fl pageTurn next toLast" ng-click="lastPageBtn();">尾页</span>
                            <p class="fl">共 <span>{{pageMsg.totalPages}}</span> 页  /  <span>{{pageMsg.totalElements}}</span> 条数据</p>
                        </div>
                    </div>


                </div>
            </div>








            <!--耗材分类维护-->
            <div  ng-controller="leftTab7_1" role="tabpanel" class="tab-pane" id="tab7_nav3">

                <div class="mask" ng-show="layerOutShow"></div>
                <div class="merchantSearch">
                    <ul>
                        <li>
                            <!--<label><span>用户名：</span><input type="text"></label>-->
                            <label style="margin-right: 55px"><span>材料分类：</span><input type="text" ng-model="searchMsg.code"></label>
                            <!--<label><span>店主姓名：</span><input type="text"></label>-->
                        </li>

                        <br>
                        <li>
                            <button class="searchBtn" ng-click="searcBtnClick();">搜索</button>
                        </li>
                    </ul>
                </div>

                <div class="merchantList">
                    <ul>
                        <li class="addM" ng-click="createNewItemBtn();"><img src="img/icon/addMer.png" alt="">新增分类</li>
                        <li class="deleteM" ng-click="deleteTableDataBtn();"><img src="img/icon/delete.png" alt="">删除分类</li>
                    </ul>

                    <table>
                        <tr class="th">
                            <td class="input"><input type="checkbox" ng-model="select_all" ng-change="selectAll()"></td>

                            <td>品牌</td>
                            <td>耗材类型</td>
                            <td>操作</td>
                        </tr>

                        <tr ng-repeat="item in tableData" on-finish-render-filters>
                            <td class="input"><input type="checkbox" ng-model="item.checked" ng-change="selectOne($event)"></td>
                            <td>{{item.itemBrandCode}}</td>
                            <td>{{item.code}}</td>
                            <td style="color:red;text-decoration: underline" ng-click="disableBtn();" ng-show="item.dataSign==0">禁用</td>
                            <td style="color:green;text-decoration: underline" ng-click="enDisableBtn();" ng-show="item.dataSign==1">启用</td>
                        </tr>

                    </table>
                </div>

                <div class="home_layerOut" ng-show="layerOutShow">
                    <h3>新增分类<img src="img/icon/cha.png" alt="" ng-click="closeLay();"></h3>
                    <div>
                        <div>
                            <span style="min-width: 95px;display: inline-block;">耗材品牌</span>
                            <select style="width:70%;box-sizing: border-box;height:30px;text-indent: 10px;" name="layerSelectName" ng-options="v.code as v.code for v in layerSelect" ng-model="itemBrandCode" >
                            </select>
                        </div>

                        <div>
                            <span style="min-width: 95px;display: inline-block;">耗材分组</span>
                            <select style="width:70%;box-sizing: border-box;height:30px;text-indent: 10px;" name="layerSelectName1" ng-options="v.code as v.code for v in layerSelect1" ng-model="itemGroupCode" >
                                <option value=""></option>
                            </select>
                        </div>

                        <div>
                            <span style="min-width: 95px;display: inline-block;">耗材分类</span>
                            <input style="width:70%;" type="text" ng-model="creatNewItemMsg.code">
                        </div>

                    </div>
                    <input type="button" value="新增" ng-click="createNewItemSub();">
                </div>
                <div class="paging" >
                    <div class="clearfix box-between">
                        <!--<div class="branches fl">-->
                        <!--<select name="" id="">-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">1</option>-->
                        <!--<option value="">4</option>-->
                        <!--</select>-->
                        <!--<span>条 / 页</span>-->
                        <!--</div>-->

                        <div class="page fl">
                            <span class="fl pageTurn prev" ng-click="firstPageBtn();">首页</span>
                            <span class="fl pageTurn prev" ng-click="prevPageBtn();">上一页</span>
                            <!--<ul class="fl">-->
                            <!--<li>1</li>-->
                            <!--<li>2</li>-->
                            <!--<li>3</li>-->
                            <!--<li>4</li>-->
                            <!--<li>5</li>-->
                            <!--<li>6</li>-->
                            <!--<li>7</li>-->
                            <!--<li>8</li>-->

                            <!--</ul>-->
                            <div class="pageTo fl">
                                <p>转到 <input type="text" ng-model="page1" ng-keyup="myKeyup13($event)"> 页</p>
                            </div>
                            <span class="fl pageTurn next" ng-click="nextPageBtn();">下一页</span>
                            <span class="fl pageTurn next toLast" ng-click="lastPageBtn();">尾页</span>
                            <p class="fl">共 <span>{{pageMsg.totalPages}}</span> 页  /  <span>{{pageMsg.totalElements}}</span> 条数据</p>
                        </div>
                    </div>


                </div>
            </div>


        </div>

    </div>

</div>
<div ng-include="'tpl/base/web/bottom.html'"></div>














